package ltd.rycloud.tms.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the submit database table.
 * 报销审批
 *
 * 报销审批单（出差审批单号、用户名、同行人、目的地、总结、费用、审批状态(1.未审批、2.同意、3.不同意、4.修改)
 */
@Entity
@NamedQuery(name="Submit.findAll", query="SELECT s FROM Submit s")
public class Submit implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;//这是ID
	
	private int busid;//出差审批单号

		private String conclution;//总结

	private String destination;//目的地

	private double expense;//费用

	private String friend;//出差同行的人

	private int type;//审批状态(1.未审批、2.同意、3.不同意、4.修改)

	private String username;//用户名

	public Submit() {
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public int getBusid() {
		return busid;
	}
	public void setBusid(int busid) {
		this.busid = busid;
	}
	public String getConclution() {
		return this.conclution;
	}

	public void setConclution(String conclution) {
		this.conclution = conclution;
	}

	public String getDestination() {
		return this.destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public double getExpense() {
		return this.expense;
	}

	public void setExpense(double expense) {
		this.expense = expense;
	}

	public String getFriend() {
		return this.friend;
	}

	public void setFriend(String friend) {
		this.friend = friend;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
}